#ifndef QABSTRACTPROPERTYEDITOR_H
#define QABSTRACTPROPERTYEDITOR_H

#include "property_editor_global.h"

#include <QWidget>

class QAbstractProperty;

class PROPERTY_EDITORSHARED_EXPORT QAbstractPropertyEditor : public QWidget
{
    Q_OBJECT
public:
    explicit QAbstractPropertyEditor(QAbstractProperty* property,QWidget *parent = 0);
    
    QAbstractProperty* get_property();

signals:
    void    property_changed(const QVariant &value);
protected slots:
    virtual void property_value_changed();
protected:
    QAbstractProperty   *m_property;

};

#endif // QABSTRACTPROPERTYEDITOR_H
